package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 志愿者对象 zhiyuanzhe
 * 
 * @author ruoyi
 * @date 2022-09-02
 */
public class Zhiyuanzhe extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addtime;

    /** 志愿账号 */
    @Excel(name = "志愿账号")
    private String zhiyuanzhanghao;

    /** 密码 */
    @Excel(name = "密码")
    private String mima;

    /** 志愿姓名 */
    @Excel(name = "志愿姓名")
    private String zhiyuanxingming;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long nianling;

    /** 性别 */
    @Excel(name = "性别")
    private String xingbie;

    /** 手机 */
    @Excel(name = "手机")
    private String shouji;

    /** 照片 */
    @Excel(name = "照片")
    private String zhaopian;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAddtime(Date addtime) 
    {
        this.addtime = addtime;
    }

    public Date getAddtime() 
    {
        return addtime;
    }
    public void setZhiyuanzhanghao(String zhiyuanzhanghao) 
    {
        this.zhiyuanzhanghao = zhiyuanzhanghao;
    }

    public String getZhiyuanzhanghao() 
    {
        return zhiyuanzhanghao;
    }
    public void setMima(String mima) 
    {
        this.mima = mima;
    }

    public String getMima() 
    {
        return mima;
    }
    public void setZhiyuanxingming(String zhiyuanxingming) 
    {
        this.zhiyuanxingming = zhiyuanxingming;
    }

    public String getZhiyuanxingming() 
    {
        return zhiyuanxingming;
    }
    public void setNianling(Long nianling) 
    {
        this.nianling = nianling;
    }

    public Long getNianling() 
    {
        return nianling;
    }
    public void setXingbie(String xingbie) 
    {
        this.xingbie = xingbie;
    }

    public String getXingbie() 
    {
        return xingbie;
    }
    public void setShouji(String shouji) 
    {
        this.shouji = shouji;
    }

    public String getShouji() 
    {
        return shouji;
    }
    public void setZhaopian(String zhaopian) 
    {
        this.zhaopian = zhaopian;
    }

    public String getZhaopian() 
    {
        return zhaopian;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("addtime", getAddtime())
            .append("zhiyuanzhanghao", getZhiyuanzhanghao())
            .append("mima", getMima())
            .append("zhiyuanxingming", getZhiyuanxingming())
            .append("nianling", getNianling())
            .append("xingbie", getXingbie())
            .append("shouji", getShouji())
            .append("zhaopian", getZhaopian())
            .toString();
    }
}
